FROM node:12-alpine

COPY . /app

WORKDIR /app

RUN npm config set registry https://registry.npm.taobao.org/

RUN npm install

RUN npm run build

CMD ["npm", "run", "serve"]

EXPOSE 80


